
#include "FullTextType.h"

FullTextType_ptr FullTextType::CHARFILTER = FullTextType_ptr(new FullTextType(1 << 0, make_string_ptr("CHARFILTER")));
FullTextType_ptr FullTextType::TOKENIZER = FullTextType_ptr(new FullTextType(1 << 1, make_string_ptr("TOKENIZER")));
FullTextType_ptr FullTextType::TOKENFILTER = FullTextType_ptr(new FullTextType(1 << 2, make_string_ptr("TOKENFILTER")));
FullTextType_ptr FullTextType::ANALYZER = FullTextType_ptr(new FullTextType(1 << 3, make_string_ptr("ANALYZER")));
FullTextType_ptr FullTextType::DICTIONARY = FullTextType_ptr(new FullTextType(1 << 4, make_string_ptr("DICTIONARY")));

FullTextType::FullTextType(uint64_t mask, string_ptr name)
{
  this->name = name;
  this->mask = mask;
}
